#include "driverh.h"

#if UART5_EN > 0

#ifndef __Uart5_h_
#define __Uart5_h_

#ifdef   __cplusplus
extern   "C"   {
#endif

void Uart5GprsDeInit(void);
INT8U Uart5Init(INT32U bps, INT16U party);
void Uart5SetBaud(INT32U bps, INT16U party);
INT8U Uart5ReceiveNByte(INT8U *p, INT16U n);
INT8U Uart5SendNByte(INT8U *p, INT16U n);
INT8U Uart5SendStr(INT8 *str);
INT8U WaitUart5SendEnd(void);
void Uart5QueueFlushSendBuf(void);
void Uart5QueueFlushReceiveBuf(void);
void Uart5Empty(void);
INT16U Uart5GetSendDataRemainderSize(void);

#ifdef   __cplusplus
}
#endif

#endif

#endif //Uart4>0
